﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Deflection
{
    class Shield : GameObject
    {
        public static Texture2D ShieldSprite { get; set; }
        private Player player;
        public Shield(Player player)
            : base(player.position)
        {
            this.player = player;
        }
        public override void Update(GameTime gameTime)
        {
            this.position = this.player.position;
            base.Update(gameTime);
        }
        public override void Draw(GameTime gameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
        {
            base.Draw(gameTime, spriteBatch);
        }
    }
}
